package cn.jiyun.pojo;

import javax.persistence.Id;
import java.math.BigDecimal;

public class Goods {
    @Id
    private Integer gid;
    private String gname;
    private String address;
    private String time;
    private String param;
    private BigDecimal shoujia;
    private BigDecimal price;
    private String status;
    private String upperson;
    private String downperson;

    public Goods(Integer gid, String gname, String address, String time, String param, BigDecimal shoujia, BigDecimal price, String status, String upperson, String downperson) {
        this.gid = gid;
        this.gname = gname;
        this.address = address;
        this.time = time;
        this.param = param;
        this.shoujia = shoujia;
        this.price = price;
        this.status = status;
        this.upperson = upperson;
        this.downperson = downperson;
    }

    public Goods() {
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public BigDecimal getShoujia() {
        return shoujia;
    }

    public void setShoujia(BigDecimal shoujia) {
        this.shoujia = shoujia;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUpperson() {
        return upperson;
    }

    public void setUpperson(String upperson) {
        this.upperson = upperson;
    }

    public String getDownperson() {
        return downperson;
    }

    public void setDownperson(String downperson) {
        this.downperson = downperson;
    }
}
